package ${cfg.enumPackage};

import java.io.Serializable;
import java.util.Arrays;
import lombok.Getter;
import lombok.AllArgsConstructor;
import lombok.experimental.Accessors;
import ${cfg.commonEnum};
<#if swagger2>
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
</#if>
<#if entityLombokModel>
import lombok.Data;
import lombok.EqualsAndHashCode;
</#if>

/**
 * <p>
 * ${table.comment!}
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if entityLombokModel>
@Data
    <#if superEntityClass??>
@EqualsAndHashCode(callSuper = true)
    <#else>
@EqualsAndHashCode(callSuper = false)
    </#if>
    <#if chainModel>
@Accessors(chain = true)
    </#if>
</#if>
<#if swagger2>
@ApiModel(value="${entity}Enums对象", description="${table.comment!}Enums对象")
</#if>
public class ${entity}Enums implements Serializable {

<#-- ----------  BEGIN 字段循环遍历  ---------->
<#list table.fields as field>
    <#if cfg.genUtil.isDescField(field.comment)>
${cfg.genUtil.buildEnumStr(field.propertyName,field.comment)}
    </#if>
</#list>
<#------------  END 字段循环遍历  ---------->
}
